import api from './index'
import { axios } from '@/utils/request'

export function sendVerifyCode (parameter) {
  return axios({
    url: api.SendVerifyCode,
    method: 'post',
    params: parameter
  })
}

export function sendVerifyCodeWithAuth (parameter) {
  return axios({
    url: api.SendVerifyCodeWithAuth,
    method: 'post',
    params: parameter
  })
}

export function checkVerifyCode (parameter) {
  return axios({
    url: api.CheckVerifyCode,
    method: 'post',
    params: parameter
  })
}
